/*
 * @Author: Simon 1958058172@qq.com
 * @Date: 2025-08-20 14:07:01
 * @LastEditors: Simon 1958058172@qq.com
 * @LastEditTime: 2025-08-20 14:37:59
 * @FilePath: \java.1212\csdn\xiancheng\li07\BumTest.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package csdn.xiancheng.li07;

public class BumTest {
    public static void main(String[] args) {
        Bum bum=new Bum();
        //生产者线程
        Thread t1=new Producer("包子店老板", bum);
        //消费者
        Thread t2=new Customer("李霄", bum);

        //
        t1.start();
        t2.start();
    }
}
